package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sky.alioss")//配置属性类
@Data
public class AliOssProperties {

    //这里面的值是有的，配置文件类约等于配置文件，只不过看的顺眼
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;

}
